package com.lizx.persional.dao;

import com.lizx.persional.entity.Users;
import com.lizx.persional.common.base.SuperMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 李振兴
 * @since 2018-02-27
 */
public interface UsersDao extends SuperMapper<Users> {

    /**
     * 根据用户名查找用户
     * @param loginName
     * @return
     */
    Users getUserByLoginName(@Param("loginName") String loginName);
}
